﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OrganisationDetail5.ascx.cs"
    Inherits="ServicesDirectory.UserControl.OrganisationDetail5" %>
<div class="bgManager">
    <div style="float: left; width: 300px; font-weight: bold; padding: 5px;">
        Current List of Supporting Materials
    </div>
    <div style="float: right; width: 180px; padding: 5px;">
        <asp:Button runat="server" ID="btnCreate" Text="Create" />
        &nbsp;
        <asp:CheckBox runat="server" ID="chkInclude" Text="Include In-active" />
    </div>
    <div class="spaceManager">
    </div>
    <div class="contentGrid">
        <div class="hearderGrid">
            <div class="SupporttingHeaderCol1">
                URL</div>
            <div class="SupporttingHeaderCol2">
                Description</div>
            <div class="SupporttingHeaderCol3">
                Type</div>
            <div class="SupporttingHeaderCol4">
                Added By</div>
            <div class="SupporttingHeaderCol5">
                Added Date</div>
        </div>
        <asp:Repeater runat="server" ID="rptSupportingMaterial" OnItemDataBound="RptSupportingMaterial_ItemDataBound"
            OnItemCommand="rptSupportingMaterial_ItemCommand">
            <ItemTemplate>
                <div class="rowGrid">
                    <div class="SupporttingContentCol1">
                        <asp:LinkButton runat="server" ID="lbtEdit" Text='<%#Eval("Url") %>' CommandName="EditSupporting"
                            CommandArgument='<%#Eval("SupportingMaterialId") %>'>
                        </asp:LinkButton>
                    </div>
                    <div class="SupporttingContentCol2">
                        <%#Eval("Description") %></div>
                    <div class="SupporttingContentCol3">
                        <%#Eval("Type") %></div>
                    <div class="SupporttingContentCol4">
                        <asp:Label runat="server" ID="lblAddedBy" Text='<%#Eval("UserId") %>'></asp:Label></div>
                    <div class="SupporttingContentCol5">
                        <asp:Label runat="server" ID="lblAddedDate" Text='<%#Eval("AddedDate") %>'></asp:Label>
                    </div>
                </div>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <div class="alterRowGrid">
                    <div class="SupporttingContentCol1">
                        <asp:LinkButton runat="server" ID="LinkButton1" Text='<%#Eval("Url") %>' CommandName="EditSupporting"
                            CommandArgument='<%#Eval("SupportingMaterialId") %>'>
                        </asp:LinkButton></div>
                    <div class="SupporttingContentCol2">
                        <%#Eval("Description") %></div>
                    <div class="SupporttingContentCol3">
                        <%#Eval("Type") %></div>
                    <div class="SupporttingContentCol4">
                        <asp:Label runat="server" ID="lblAddedBy" Text='<%#Eval("UserId") %>'></asp:Label></div>
                    <div class="SupporttingContentCol5">
                        <asp:Label runat="server" ID="lblAddedDate" Text='<%#Eval("AddedDate") %>'></asp:Label>
                    </div>
                </div>
            </AlternatingItemTemplate>
        </asp:Repeater>
        <div class="spaceManager">
        </div>
        <div class="PagingList">
            <span>
                <asp:Button runat="server" CssClass="backAllList" ID="cmdBackAll" />
            </span><span>
                <asp:Button runat="server" CssClass="backList" ID="cmdBackList" /></span> <span style="padding-left: 5px;">
                    Page</span> <span style="padding-left: 5px;">
                        <asp:TextBox Text="1" runat="server" Width="20px" ID="txtPageNumber"></asp:TextBox></span>
            <span>of</span> <span>
                <asp:Label runat="server" Text="1" ID="lblTotalPage"></asp:Label></span> <span>
                    <asp:Button runat="server" CssClass="nextAll" ID="cmdNextAll" />
                </span><span>
                    <asp:Button runat="server" CssClass="nextList" ID="cmdNext" />
                </span>
        </div>
    </div>
    <div class="spaceManager">
    </div>
</div>
